home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (C) 1992, 1996, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved.
-
- This file is part of AFPL Ghostscript.
-
- AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or
- distributor accepts any responsibility for the consequences of using it, or
- for whether it serves any particular purpose or works at all, unless he or
- she says so in writing. Refer to the Aladdin Free Public License (the
- "License") for full details.
-
- Every copy of AFPL Ghostscript must include a copy of the License, normally
- in a plain ASCII text file named PUBLIC. The License grants you the right
- to copy, modify and redistribute AFPL Ghostscript, but only under certain
- conditions described in the License. Among other things, the License
- requires that the copyright notice and this notice be preserved on all
- copies.
- */
-
- /*$Id: iddict.h,v 1.2 2000/09/19 19:00:42 lpd Exp $ */
- /* Dictionary API with implicit dict_stack argument */
-
- #ifndef iddict_INCLUDED
- # define iddict_INCLUDED
-
- #include "idict.h"
- #include "icstate.h" /* for access to dict_stack */
-
- /* Define the dictionary stack instance for operators. */
- #define idict_stack (i_ctx_p->dict_stack)
-
- #define idict_put(pdref, key, pvalue)\
- dict_put(pdref, key, pvalue, &idict_stack)
- #define idict_put_string(pdref, kstr, pvalue)\
- dict_put_string(pdref, kstr, pvalue, &idict_stack)
- #define idict_undef(pdref, key)\
- dict_undef(pdref, key, &idict_stack)
- #define idict_copy(dfrom, dto)\
- dict_copy(dfrom, dto, &idict_stack)
- #define idict_copy_new(dfrom, dto)\
- dict_copy_new(dfrom, dto, &idict_stack)
- #define idict_resize(pdref, newmax)\
- dict_resize(pdref, newmax, &idict_stack)
- #define idict_grow(pdref)\
- dict_grow(pdref, &idict_stack)
- #define idict_unpack(pdref)\
- dict_unpack(pdref, &idict_stack)
-
- #endif /* iddict_INCLUDED */
-